package com.liachen.stock.entity;

import com.github.liaochong.myexcel.core.annotation.ExcelColumn;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * TODO 功能描述
 *
 * @author chen.liang
 * @date 2020/1/9 14:08
 * @since V1.0
 */
@Data
public class StockSimple implements Serializable {
    @ExcelColumn(title = "股票代码", style={"title->background-color: #e0927f; border-bottom: 1px solid #d9d9d9; font-weight: bold; text-align: center;","odd->background-color: #f2f2f2; border-bottom: 1px solid #d9d9d9; display: table-row; vertical-align: inherit;border-color: inherit; text-align: center;", "even->border-bottom: 1px solid #d9d9d9; display: table-row; vertical-align: inherit;border-color: inherit; text-align: center;"})
    private String code;
    @ExcelColumn(title = "股票名称", style={"title->background-color: #e0927f; border-bottom: 1px solid #d9d9d9; font-weight: bold; text-align: center;","odd->background-color: #f2f2f2; border-bottom: 1px solid #d9d9d9; display: table-row; vertical-align: inherit;border-color: inherit; text-align: center;", "even->border-bottom: 1px solid #d9d9d9; display: table-row; vertical-align: inherit;border-color: inherit; text-align: center;"})
    private String name;
    @ExcelColumn(title = "今日涨幅", style={"title->background-color: #e0927f; border-bottom: 1px solid #d9d9d9; font-weight: bold; text-align: center;","odd->background-color: #f2f2f2; border-bottom: 1px solid #d9d9d9; display: table-row; vertical-align: inherit;border-color: inherit; text-align: center;", "even->border-bottom: 1px solid #d9d9d9; display: table-row; vertical-align: inherit;border-color: inherit; text-align: center;"})
    private BigDecimal increase;
}
